package spring.spring_blog.common.utils;

import org.springframework.beans.BeanUtils;
import spring.spring_blog.pojo.response.blogListInfoResp;

public class BeanTransUtils {

    public static blogListInfoResp tran(Object b) {
        blogListInfoResp ret= new blogListInfoResp();
        BeanUtils.copyProperties(b, ret);
        return ret;
    }

}
